package com.cd.miniprogramServer.common.exception;


import com.cd.miniprogramServer.common.errorcode.BaseErrorCode;
import com.cd.miniprogramServer.common.errorcode.IErrorCode;
import lombok.ToString;


@ToString
public class RemoteException extends AbstractException{
    public RemoteException(String message) {
        this(message, null, BaseErrorCode.REMOTE_ERROR);
    }

    public RemoteException(String message, IErrorCode errorCode) {
        this(message, null, errorCode);
    }

    public RemoteException(String message, Throwable throwable, IErrorCode errorCode) {
        super(message, throwable, errorCode);
    }

}
